package ysu.sxm.ptjc.Dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import ysu.sxm.ptjc.pojo.UserInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
@Repository
public interface UserMapper extends BaseMapper<UserInfo>{
    List<UserInfo>selectByPower(@Param("powers") List<String> power);
    UserInfo login(@Param("userId")String userId,@Param("password")String password);
}
